import { createRouter, createWebHashHistory } from 'vue-router'

const router = createRouter({
  history: createWebHashHistory(),
  routes: [
    {
      // 一级路由 Layout
      path: '/',
      component: () => import('@/views/member/LayOut.vue'),
      // 二级路由 首页
      children: [
        {
          path: '/',
          component: () => import('@/views/home/index.vue')
        }
      ]
    }
  ]
})

export default router
